//package com.example.makerspace.handler;
//
//import com.google.code.chatterbotapi.ChatterBotFactory;
//import com.google.code.chatterbotapi.ChatterBotType;
//import org.springframework.stereotype.Component;
//import com.google.code.chatterbotapi.ChatterBot;
//@Component
//public class ChatBotHandler {
//
//    private ChatterBot bot;
//
//    public ChatBotHandler() throws Exception {
//        bot = new ChatterBotFactory().create(ChatterBotType.CLEVERBOT).createSession();
//    }
//
//    public String getResponse(String message) throws Exception {
//        return bot.think(message);
//    }
//}
//
